package com.goldcn.user.dao;

import com.goldcn.user.model.GoldSeting;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoldSetingMapper {
    int deleteByPrimaryKey(Long ID);

    int insert(GoldSeting record);

    int insertSelective(GoldSeting record);

    GoldSeting selectByPrimaryKey(Long ID);

    int updateByPrimaryKeySelective(GoldSeting record);

    int updateByPrimaryKey(GoldSeting record);

    List<GoldSeting> selectAll(Long supplierID);

    GoldSeting getGoldSetingByNecklace(@Param(value = "supplierID") Long supplierID, @Param(value = "necklace") String necklace);
}